.search{
    width: 30%
}
.search input{
    float: left;
    flex: 4;
    height: 30px;
    outline: none;
    border: 1px solid red;
    padding-left: 10px;
}
.search button{
    float: left;
    flex: 1;
    height: 34px;
    background-color: red;
    color: white;
    border-style: none;
    outline: none;
}
.search button i{
    font-style: normal;
}
.search button:hover{
    font-size: 16px;
}